//
//  QEllipseButton.m
//  QMCXDriver
//
//  Created by Massimo on 2017/4/14.
//  Copyright © 2017年 Massimo. All rights reserved.
//

#import "QEllipseButton.h" 
@implementation QEllipseButton


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.


- (void)drawRect:(CGRect)rect {
    // Drawing code
    
    self.layer.cornerRadius = CGRectGetHeight(rect)/2;
    self.layer.masksToBounds = YES;
   
}





@end
